package com.foreveross.fetl.core.domain.freight.repository.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.foreveross.fetl.common.jpa.EntityHibernateRepository;
import com.foreveross.fetl.core.domain.freight.CabinEntity;
import com.foreveross.fetl.core.domain.freight.repository.IFreightMonitorCabinRepository;
@Repository("freightMonitorCabinRepository")
public class FreightMonitorCabinRepositoryImpl extends
		EntityHibernateRepository implements IFreightMonitorCabinRepository {

	@Override
	public List<CabinEntity> findByMonitorId(String id) {
		return super.queryResult("select o from CabinEntity o where monitorId=?", new Object[]{id});
	}

	@Override
	public void batchCreate(List<CabinEntity> cs) {
		// TODO Auto-generated method stub
		
	}

}
